package com.demo.petshop.service;

import com.demo.petshop.entity.Stores;
import com.demo.petshop.entity.StoresInfo;
import com.mybatisflex.core.service.IService;

/**
 *  服务层。
 *
 * @author lenovo
 * @since 2025-06-11
 */
public interface StoresService extends IService<Stores> {

    Object getNearbyStores(String latitude, String longitude, String radius, String tagId);

    Object getByTagId(Integer id);

    Object getStore(Integer id);
    Object getStoresNoId();
    Object getAll(Integer tagId);

    Object getReviews(Integer storeId);

    Object reRating();

    Object stats();

    Object addStore(StoresInfo storesInfo);

    Object delStore(int storeId);

    Object updateStore(StoresInfo storesInfo);

    Object getStoreList();

    Object getShopkeeperStats();
}
